package edu.polsl.bio.str.common.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * //todo class description
 * <p/>
 * Created on: Jun 13, 2011 6:34:22 PM <br/>
 * <a href="http://www.polsl.pl">www.polsl.pl</a>
 *
 * @author lukasz.olczak@polsl.pl
 */
@Entity
@Table(name = "job_groups")
public class JobGroup extends BaseEntity {

  private Long refId;

  private Long queryId;

  private Long refChromosomeId;

  private Long queryChromosomeId;

  private String invokedBy;

  private Date startDate;

  private Date endDate;

  private Integer overallJobs;

  private Integer finishedJobs;

  @Column(name = "query_chromosome_id")
  public Long getQueryChromosomeId() {
    return queryChromosomeId;
  }

  public void setQueryChromosomeId(Long queryChromosomeId) {
    this.queryChromosomeId = queryChromosomeId;
  }

  @Column(name = "query_id")
  public Long getQueryId() {
    return queryId;
  }

  public void setQueryId(Long queryId) {
    this.queryId = queryId;
  }

  @Column(name = "ref_chromosome_id")
  public Long getRefChromosomeId() {
    return refChromosomeId;
  }

  public void setRefChromosomeId(Long refChromosomeId) {
    this.refChromosomeId = refChromosomeId;
  }

  @Column(name = "ref_id")
  public Long getRefId() {
    return refId;
  }

  public void setRefId(Long refId) {
    this.refId = refId;
  }

  @Column(name = "invoked_by")
  public String getInvokedBy() {
    return invokedBy;
  }

  public void setInvokedBy(String invokedBy) {
    this.invokedBy = invokedBy;
  }

  @Column(name = "start_date")
  public Date getStartDate() {
    return startDate;
  }

  public void setStartDate(Date startDate) {
    this.startDate = startDate;
  }

  @Column(name = "end_date")
  public Date getEndDate() {
    return endDate;
  }

  public void setEndDate(Date endDate) {
    this.endDate = endDate;
  }

  @Column(name = "overall_jobs")
  public Integer getOverallJobs() {
    return overallJobs;
  }

  public void setOverallJobs(Integer overallJobs) {
    this.overallJobs = overallJobs;
  }

  @Column(name = "finished_jobs")
  public Integer getFinishedJobs() {
    return finishedJobs;
  }

  public void setFinishedJobs(Integer finishedJobs) {
    this.finishedJobs = finishedJobs;
  }
}
